@import "src/assets/scss/base";
page {
  //position: absolute;
  //width: 100%;
  //height: 100%;
  //display: block;
  //background: #FAFAFA;
  //overflow-y: hidden;
}

.container {
  padding: 75px 21px 0 15px;
  box-sizing: border-box;
  background: #fff;
}

.info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 41px;

  &_content {
    display: flex;
    flex-direction: column;
    letter-spacing: 1px;

    &_user {
      font-size: 23px;
      text-align: left;
      color: #000000;
      line-height: 36px;
    }

    &_place {
      font-size: 13px;
      text-align: left;
      color: #b7b7b7;
    }
  }

  &_avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
}

.home_title {
  position: relative;
  height: 31px;
  font-size: 23px;
  color: #000000;
  line-height: 36px;
  margin: 26px 0 13px 1px;
  font-weight: 600;
  .iconfont {
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 0;
    background-color: #f6f2f8;
    color: #79797A;
    box-shadow: 0 16px 40px 0 rgba(91,77,188,0.09);
    display: grid;
    place-items: center;
  }
}

.nav_wrap {
  padding-left: 3px;
  margin-bottom: 20px;
}

.nav_tab {
  display: flex;
  flex-direction: row;
  align-items: center;

  .tab_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 24px;
    position: relative;

    &_title {
      height: 19px;
      line-height: 19px;
      font-size: 14px;
      margin-bottom: 6px;

      &.active {
        color: #5b4dbc;
      }
    }

    &_underline {
      position: absolute;
      bottom: 0;
      width: 0;
      opacity: 0;
      height: 4px;
      border-radius: 2px;
      background-color: #5b4dbc;
      transition: all 500ms;

      &.active {
        width: 20px;
        opacity: 1;
      }
    }
  }
}

.pageloading_wrap {
  width: 100%;
  height: calc(100vh - 423px);
  position: relative;
}

.loading_wrap {
  position: relative;
  width: 100%;
  height: 38px;
  overflow: hidden;
}

.home_search {
  position: relative;
  margin-bottom: 25px;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
  }

  //transform-origin: left;
  //animation-delay: 20ms;
  //animation-timing-function: ease-in;
  //animation-duration: 200ms;
  //animation-fill-mode: forwards;
  //transform-origin: center;
}

.search_animation {
  @include fill-screen();
  transform: translate3d(100%, 0, 0);
  transition: all 0.2s ease-in;

  &.entry {
    transform: translate3d(0, 0, 0);
  }
}
